// 导出没有名称的文件
export const exportFileNoName = (res) => {
  // 获取文件名称
  const url = window.URL.createObjectURL(new Blob([res.data],{ type: 'application/octet-stream;charset=utf-8'}));
  const link = document.createElement('a')
  link.style.display = 'none'
  link.href = url
  link.download = "学生信息.xls";
  document.body.appendChild(link)
  link.click()
}
